<!DOCTYPE html>
<html lang="en">
  <%= render :partial => "layouts/head" %>
  <body>
    <% if current_user %>
      <%= render :partial => "layouts/navbar" %>
      <div class="container">
        <div class="row">
          <div class="col-lg-2">
            <%= yield :left_sidebar %>
          </div>
          <div class="col-lg-10">
            <%= bootstrap_flash %>
            <%= yield %>
          </div>
        </div>
      </div>
    <% else %>
      <div class="container" id="container_session_new">
        <div class="row" id="main">  
          <%= bootstrap_flash %>
          <%= yield %>
        </div>
      </div>  
    <% end %>
  </body>
</html>
